using System;

namespace LocalBoard.Domain
{
	/// <summary>
	/// Summary description for PollItem.
	/// </summary>
	public class PollItem
	{
		private int _id;
		private string _name;
		private int _numberOfVotes;

		public int Id
		{
			get{return _id;}
		}
		public string Name
		{
			get{return _name;}
			//			set{_name = value;}
		}
		public int NumberOfVotes
		{
			get{return _numberOfVotes;}
		}

		public PollItem(int id, string name, int numberOfVotes)
		{
			_id = id;
			_name = name;
			_numberOfVotes = numberOfVotes;
		}
		public PollItem(string name)
		{
			_name = name;
		}

	}

}
